﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RSFrame.Services
{
    /// <summary>
    /// 配置信息存取服务
    /// </summary>
    public interface IConfigurationService
    {
        /// <summary>
        /// 获取数据库地址以及端口
        /// </summary>
        string DBAddress { get; }

        /// <summary>
        /// 获取或设置登陆程序是否记住密码
        /// </summary>
        bool RememberPassword { get; set; }

        /// <summary>
        /// 获取或设置登陆程序是否自动登录
        /// </summary>
        bool AutoLogin { get; set; }

        /// <summary>
        /// 获取或设置记录的账户
        /// </summary>
        string Account { get; set; }

        /// <summary>
        /// 获取或设置记录的密码
        /// </summary>
        string Password { get; set; }
    }
}
